//
//  DeleteScribbleCommand.m
//  Test
//
//  Created by 杨德龙 on 2017/11/24.
//  Copyright © 2017年 ___杨德龙___. All rights reserved.
//

#import "DeleteScribbleCommand.h"
#import "CoordinatingController.h"   // 中转的 VC
#import "CanvasViewController.h"

@implementation DeleteScribbleCommand


/**
 重写 父类的执行方法
 */
- (void)execute
{
    CoordinatingController *coordinatingController = [CoordinatingController sharedInstance];
    
    // 获取 最新的 controller
    CanvasViewController *canvasViewController = [coordinatingController canvasViewController];
    Scribble *newScribble = [[Scribble alloc] init];  // 啥都没有的 scribble
    [canvasViewController setScribble:newScribble];
    
}




@end








































